Optimal. Leaf size=85 \[ \frac {\tan ^{-1}\left (\frac {\sqrt {b} x}{\sqrt {a}}\right )}{16 a^{5/2} b^{3/2}}+\frac {x}{16 a^2 b \left (a+b x^2\right )}+\frac {x}{24 a b \left (a+b x^2\right )^2}-\frac {x}{6 b \left (a+b x^2\right )^3} \]
________________________________________________________________________________________
Rubi [A] time = 0.04, antiderivative size = 85, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 4, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.167, Rules used = {28, 288, 199, 205} \begin {gather*} \frac {\tan ^{-1}\left (\frac {\sqrt {b} x}{\sqrt {a}}\right )}{16 a^{5/2} b^{3/2}}+\frac {x}{16 a^2 b \left (a+b x^2\right )}+\frac {x}{24 a b \left (a+b x^2\right )^2}-\frac {x}{6 b \left (a+b x^2\right )^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 28
Rule 199
Rule 205
Rule 288
Rubi steps
\begin {align*} \int \frac {x^2}{\left (a^2+2 a b x^2+b^2 x^4\right )^2} \, dx &=b^4 \int \frac {x^2}{\left (a b+b^2 x^2\right )^4} \, dx\\ &=-\frac {x}{6 b \left (a+b x^2\right )^3}+\frac {1}{6} b^2 \int \frac {1}{\left (a b+b^2 x^2\right )^3} \, dx\\ &=-\frac {x}{6 b \left (a+b x^2\right )^3}+\frac {x}{24 a b \left (a+b x^2\right )^2}+\frac {b \int \frac {1}{\left (a b+b^2 x^2\right )^2} \, dx}{8 a}\\ &=-\frac {x}{6 b \left (a+b x^2\right )^3}+\frac {x}{24 a b \left (a+b x^2\right )^2}+\frac {x}{16 a^2 b \left (a+b x^2\right )}+\frac {\int \frac {1}{a b+b^2 x^2} \, dx}{16 a^2}\\ &=-\frac {x}{6 b \left (a+b x^2\right )^3}+\frac {x}{24 a b \left (a+b x^2\right )^2}+\frac {x}{16 a^2 b \left (a+b x^2\right )}+\frac {\tan ^{-1}\left (\frac {\sqrt {b} x}{\sqrt {a}}\right )}{16 a^{5/2} b^{3/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.04, size = 69, normalized size = 0.81 \begin {gather*} \frac {\tan ^{-1}\left (\frac {\sqrt {b} x}{\sqrt {a}}\right )}{16 a^{5/2} b^{3/2}}+\frac {-3 a^2 x+8 a b x^3+3 b^2 x^5}{48 a^2 b \left (a+b x^2\right )^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {x^2}{\left (a^2+2 a b x^2+b^2 x^4\right )^2} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 1.14, size = 258, normalized size = 3.04 \begin {gather*} \left [\frac {6 \, a b^{3} x^{5} + 16 \, a^{2} b^{2} x^{3} - 6 \, a^{3} b x - 3 \, {\left (b^{3} x^{6} + 3 \, a b^{2} x^{4} + 3 \, a^{2} b x^{2} + a^{3}\right )} \sqrt {-a b} \log \left (\frac {b x^{2} - 2 \, \sqrt {-a b} x - a}{b x^{2} + a}\right )}{96 \, {\left (a^{3} b^{5} x^{6} + 3 \, a^{4} b^{4} x^{4} + 3 \, a^{5} b^{3} x^{2} + a^{6} b^{2}\right )}}, \frac {3 \, a b^{3} x^{5} + 8 \, a^{2} b^{2} x^{3} - 3 \, a^{3} b x + 3 \, {\left (b^{3} x^{6} + 3 \, a b^{2} x^{4} + 3 \, a^{2} b x^{2} + a^{3}\right )} \sqrt {a b} \arctan \left (\frac {\sqrt {a b} x}{a}\right )}{48 \, {\left (a^{3} b^{5} x^{6} + 3 \, a^{4} b^{4} x^{4} + 3 \, a^{5} b^{3} x^{2} + a^{6} b^{2}\right )}}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.18, size = 62, normalized size = 0.73 \begin {gather*} \frac {\arctan \left (\frac {b x}{\sqrt {a b}}\right )}{16 \, \sqrt {a b} a^{2} b} + \frac {3 \, b^{2} x^{5} + 8 \, a b x^{3} - 3 \, a^{2} x}{48 \, {\left (b x^{2} + a\right )}^{3} a^{2} b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.01, size = 58, normalized size = 0.68 \begin {gather*} \frac {\arctan \left (\frac {b x}{\sqrt {a b}}\right )}{16 \sqrt {a b}\, a^{2} b}+\frac {\frac {b \,x^{5}}{16 a^{2}}+\frac {x^{3}}{6 a}-\frac {x}{16 b}}{\left (b \,x^{2}+a \right )^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 2.98, size = 87, normalized size = 1.02 \begin {gather*} \frac {3 \, b^{2} x^{5} + 8 \, a b x^{3} - 3 \, a^{2} x}{48 \, {\left (a^{2} b^{4} x^{6} + 3 \, a^{3} b^{3} x^{4} + 3 \, a^{4} b^{2} x^{2} + a^{5} b\right )}} + \frac {\arctan \left (\frac {b x}{\sqrt {a b}}\right )}{16 \, \sqrt {a b} a^{2} b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 4.31, size = 74, normalized size = 0.87 \begin {gather*} \frac {\frac {x^3}{6\,a}-\frac {x}{16\,b}+\frac {b\,x^5}{16\,a^2}}{a^3+3\,a^2\,b\,x^2+3\,a\,b^2\,x^4+b^3\,x^6}+\frac {\mathrm {atan}\left (\frac {\sqrt {b}\,x}{\sqrt {a}}\right )}{16\,a^{5/2}\,b^{3/2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [B] time = 0.44, size = 139, normalized size = 1.64 \begin {gather*} - \frac {\sqrt {- \frac {1}{a^{5} b^{3}}} \log {\left (- a^{3} b \sqrt {- \frac {1}{a^{5} b^{3}}} + x \right )}}{32} + \frac {\sqrt {- \frac {1}{a^{5} b^{3}}} \log {\left (a^{3} b \sqrt {- \frac {1}{a^{5} b^{3}}} + x \right )}}{32} + \frac {- 3 a^{2} x + 8 a b x^{3} + 3 b^{2} x^{5}}{48 a^{5} b + 144 a^{4} b^{2} x^{2} + 144 a^{3} b^{3} x^{4} + 48 a^{2} b^{4} x^{6}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________